Repair miscompilation of single-arg `apply` (bug#69533)
authorMattias Engdegård <mattiase@acm.org>
Mon, 4 Mar 2024 09:44:19 +0000 (10:44 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 4 Mar 2024 13:13:26 +0000 (14:13 +0100)
commitb9e8474a4470f71c30a4b89651fd3c5f2ef92ba2
treeadb850bdbd7170dc5522ec4b2d35bc58bc18d9be
parent2c2a15bd171ecbf87fdac4405c7ea5f567fcf38a
Repair miscompilation of single-arg `apply` (bug#69533)

* lisp/emacs-lisp/byte-opt.el (byte-optimize-apply):
Don't optimise single-argument `apply`; it's a legacy construct.
* test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--test-cases):
Add test case.
lisp/emacs-lisp/byte-opt.el
test/lisp/emacs-lisp/bytecomp-tests.el